<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>用户登录</title>
	<meta content="" name="Keywords">
	<meta content="" name="Description">
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="moban/css/bootstrap.css">
	<link href="moban/css/base.css" rel="stylesheet">
	<link href="moban/css/unlogin.css" rel="stylesheet">
    <link href="moban/css/common.css" rel="stylesheet"/>
<!--     <link href="moban/css/bootstrap.css" rel="stylesheet"> -->
    <script type="text/javascript" th:src="@{moban/vendor/js/jquery-1.12.4.js}"></script>
    <script type="text/javascript" th:src="@{moban/vendor/js/drag.js}"></script>
</head>
<body>
<!--头部-->
<header th:replace="front/headtail/header :: header"></header>
<div class="full_container reglog">
  <h1>用户登录</h1>
  <div class="clearfix">
    <div class="l registForm">
      <div class="tips tips-warning2">
        <h4 style="margin-left: 0px;">登录成功即可进行相关的操作<span class="gflogoIcon"></span> </h4>
      </div>
<!--**********************************登录表单提交**********************************-->
      <form id="userlogin_from" th:action="@{/login}" method="POST" name="useform">
		  <!--用户身份注册-->
		  <!-- 从controller类传值过来的错误提示 -->
          <div class="m-row-error usertype_errortip"><strong th:text="${errormessage}"></strong></div>
          
          
		  <div></div>
			<!--输入用户名-->
          <div class="m-row">
            <label class="l m-rowLabel" for="s_email_mobile">账户：</label>
            <div class="l m-holderBox">
              <label class="m-holderTxt" style="height: 34px; line-height: 34px; display: block;"></label>
              <input class="m-holderInput m-textFocus png" id="userphone" th:name="userphone" type="text" value="" placeholder="请输入手机号">
            </div>
          </div>
          <!-- 错误提示 -->
           <!-- th:text是从controller类传值过来的错误提示  -->
          <div class="m-row-error s_tep_mobile_message" th:id="phonemessage"> <span th:text="${phonemessage}"></span></div>
         
		  <!--输入密码-->
          <div class="m-row">
            <label class="l m-rowLabel" for="s_user_pwd">密码：</label>
            <div class="l m-holderBox">
              <label class="m-holderTxt" style="height: 34px; line-height: 34px;"></label>
              <input class="m-holderInput m-textFocus png" id="userPassword" th:name="userPassword" type="password" placeholder="请输入密码">
            </div>
          </div>
          <!-- js验证错误提示 -->
          <!-- th:text是从controller类传值过来的错误提示 -->
          <div class="m-row-error s_pwd_mobile_message" th:id="pwdmessage"><span th:text="${pwdmessage}"></span></div>
          
		  <!--滑动条-->
          <div class="m-row">
            <div id="wrapper">
                <div id="drag">
                    <div class="drag_bg"></div>
                    <div class="drag_text slidetounlock" id="drag_text" onselectstart="return false;" unselectable="on">
                          请按住滑块，拖到最右边完成验证
                    </div>
                    <div class="handler handler_bg"></div>
                </div>
              </div>
          </div>
          <div class="m-row-error s_srand_errortip"> </div>
		  
		  <!--点击登录按钮-->
          <div class="m-row">
              <input type="button" th:id="btn_userlogin" class="btn btn-info" value="登录" style="width:10rem;margin-left:120px">
          </div>
          <div class="m-row m-row-regist">
            <p>未有账户？<a href="">立即注册</a></p>
          </div>
      </form>
<!--**********************************登录表单提交**********************************-->
    </div>
    <div class="lregistAside">
      <div class=""><img src="moban/img/登录.png" class="img-thumbnail"></div>
    </div>
  </div>
</div>

<footer th:replace="front/headtail/footer :: footer"></footer>
<script type="text/javascript" th:src="@{/moban/script/userscript.js}"></script>
<script>
    $('#drag').drag();
</script>
</body>
</html>